package com.lhc.bean;

/**
 * @author LuHuanCheng
 * 类说明：方式2：FactoryMethod创建bean
 */
public class FactoryBean {

    private String id;

    //factory-method另外一个类非静态方法
    public FactoryMethodBean createFactoryMethod() {
        return new FactoryMethodBean();
    }
}